package com.sudo.dao.admin.model.bo;

import com.sudo.common.validenum.EnumValue;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class SysMethodJobUpdateStatusBO {

    @NotNull(message = "id不能为空")
    private Integer id;

    @NotBlank(message = "运行状态不能为空")
    @EnumValue(strValues = {"RUN","STOP"},message = "运行状态必须为指定值RUN/STOP")
    private String status;

}
